package cn.com.nes.site.controller.crm.customer.vo;

import cn.com.nes.site.entity.vo.BaseVO;
import cn.com.nes.site.service.crm.customer.bo.CustomerFileBO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "客户文件删除入参模型")
@Data
public class CustomerFileDelVO extends BaseVO {

    @ApiModelProperty(value = "客户文件id")
    @NotNull(message = "客户文件id")
    private Long id;

    public CustomerFileBO convertToBo() {
        CustomerFileBO customerFileBo = new CustomerFileBO();
        customerFileBo.setId(this.getId());
        return customerFileBo;
    }
}
